import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        for (int age = 1; age < 101; age++) {
            for (int i = 2; i < age; i++) {
                if(age % i != 0) {
                    System.out.println(age + "是素数");
                    break;
                }
            }
        }
    }



    public static void main2(String[] args) {
        Scanner scan = new Scanner(System.in);
        int age = scan.nextInt();
        for (int i = 2; i < age; i++) {
            if(age % i != 0) {
                System.out.println("是素数");
                break;
            }
            System.out.println("不是素数");

        }
    }
}
